package com.hnbtr.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Record {
	private Integer id;
	private Integer student_attendance_id;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date create_time;
	private String note;
	private Integer institution_id;
	private StudentAttendance student_attendance;
	private Institution institution;
	private int del_status;
	List<Image> images = new ArrayList<Image>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getStudent_attendance_id() {
		return student_attendance_id;
	}
	public void setStudent_attendance_id(Integer student_attendance_id) {
		this.student_attendance_id = student_attendance_id;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Integer getInstitution_id() {
		return institution_id;
	}
	public void setInstitution_id(Integer institution_id) {
		this.institution_id = institution_id;
	}
	public StudentAttendance getStudent_attendance() {
		return student_attendance;
	}
	public void setStudent_attendance(StudentAttendance student_attendance) {
		this.student_attendance = student_attendance;
	}
	public Institution getInstitution() {
		return institution;
	}
	public void setInstitution(Institution institution) {
		this.institution = institution;
	}
	public int getDel_status() {
		return del_status;
	}
	public void setDel_status(int del_status) {
		this.del_status = del_status;
	}
	public List<Image> getImages() {
		return images;
	}
	public void setImages(List<Image> images) {
		this.images = images;
	}
	@Override
	public String toString() {
		return "Record [id=" + id + ", student_attendance_id=" + student_attendance_id + ", create_time=" + create_time
				+ ", note=" + note + ", institution_id=" + institution_id + ", student_attendance=" + student_attendance
				+ ", institution=" + institution + ", del_status=" + del_status + ", images=" + images + "]";
	}
}
